
print sum([int(s) for s in str(2**1000)]) 
